<?php

use common\service\StaticService;
use common\service\GlobalUrlService;
use backend\assets\AdminAsset;

$this->title = '管理员登录';

StaticService::includeAppJsStatic('/backend/login.js',AdminAsset::class);

?>

<form id="form1" class="form-vertical no-padding no-margin" action="<?=GlobalUrlService::buildAdminUrl('/admin/login')?>">
    <div class="lock">
        <i class="icon-lock"></i>
    </div>
    <div class="control-wrap">
        <h4>用户登录</h4>
        <div class="control-group">
            <div class="controls">
                <div class="input-prepend">
                    <span class="add-on"><i class="icon-user"></i></span><input id="email" name="email" type="text" placeholder="请输入邮箱号" />
                </div>
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <div class="input-prepend">
                    <span class="add-on"><i class="icon-key"></i></span><input id="pass" name="pass" type="password" placeholder="请输入密码" />
                </div>
<!--                <div class="mtop10">-->
<!--                    <div class="block-hint pull-left small">-->
<!---->
<!--                    </div>-->
<!--                    <div class="block-hint pull-right">-->
<!--                        <a href="javascript:;" class="" id="forget-password">忘记密码</a>-->
<!--                    </div>-->
<!--                </div>-->
                <div class="clearfix space5"></div>
            </div>

        </div>
    </div>

    <input type="button" id="login-btn" class="btn btn-block login-btn" value="登录" />
</form>

<form id="forgotform" class="form-vertical no-padding no-margin hide" action="#">
    <p class="center">请输入邮箱</p>
    <div class="control-group">
        <div class="controls">
            <div class="input-prepend">
                <span class="add-on"><i class="icon-envelope"></i></span><input id="input-email" type="text" placeholder="Email"  />
            </div>
        </div>
        <div class="space20"></div>
    </div>
    <input type="button" id="forget-btn" class="btn btn-block login-btn" value="Submit" />
</form>